<template>
  <div>
    <pageHeader :title="title" :breadCrumb="breadCrumb" :show-back="true">
    </pageHeader>
    <a-tabs default-active-key="1">
      <a-tab-pane key="1" title="详情"><DetailsInfo></DetailsInfo> </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script lang="ts" setup>
  import {
    reactive,
    ref,
    computed,
    onMounted,
    defineAsyncComponent,
  } from 'vue';
  import { useRoute } from 'vue-router';
  import {
    getPurchaseOrderList,
    getSinglePurchaseOrder,
  } from '@/api/buy-management/buy-order/index';
  import {
    GetPersonnelinformation,
    Getsingleperson,
  } from '@/api/home/System settings/personal-information/index';
  import DetailsInfo from './components/details/index.vue';

  const route = useRoute();
  const id = Number(route.query.id);

  // 获取人员信息
  const Personne = ref();
  const Personnelinformation = async () => {
    const res = await GetPersonnelinformation({ page: 0, size: -1 });
    Personne.value = res.content.data;
  };
  Personnelinformation();

  const tableRef = ref();
  const title: string = '质检详情页';
  const breadCrumb: string[] = [
    '库存管理',
    '入库管理',
    '质检列表',
    '质检详情页',
  ];
</script>

<style scoped lang="less"></style>
